all files / controllers/ home.js

33.33% Statements 2/6
100% Branches 0/0
33.33% Functions 1/3
33.33% Lines 2/6
1 2 3 4 5 6 7 8 9 10 11 12 13                     
/* eslint-disable max-lines */
define(['angular', '../module'], function (angular, mod) {
    'use strict';
 
    mod.controller('basic.home', function ($scope) {
        var vm = this;
        vm.text = "world";
 
        vm.add2 = function (a, b) {
            return a + b;
        }
    });
});